package entity;

import java.io.Serializable;
import java.sql.Date;

public class Drug implements Serializable{
	private String did;
	private String dname;
	private String dclass;
	private String dprice;
	private Date   prodate;
	private Date   exdate;
	private int    requantity;
	private String sname;
	private String function;
	public String getDid() {
		return did;
	}
	public void setDid(String did) {
		this.did = did;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public String getDclass() {
		return dclass;
	}
	public void setDclass(String dclass) {
		this.dclass = dclass;
	}
	public String getDprice() {
		return dprice;
	}
	public void setDprice(String dprice) {
		this.dprice = dprice;
	}
	public Date getProdate() {
		return prodate;
	}
	public void setProdate(Date prodate) {
		this.prodate = prodate;
	}
	public Date getExdate() {
		return exdate;
	}
	public void setExdate(Date exdate) {
		this.exdate = exdate;
	}
	public int getRequantity() {
		return requantity;
	}
	public void setRequantity(int requantity) {
		this.requantity = requantity;
	}
	
	public String getFunction() {
		return function;
	}
	public void setFunction(String function) {
		this.function = function;
	}
	
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	@Override
	public String toString() {
		return "Drug [did=" + did + ", dname=" + dname + ", dclass=" + dclass + ", dprice=" + dprice + ", prodate="
				+ prodate + ", exdate=" + exdate + ", requantity=" + requantity + ", sname=" + sname
				+ ", function=" + function + "]";
	}
	
	

}
